export function getToken() {
  return localStorage.getItem("token");
}

export function setToken(token) {
  return localStorage.setItem("token", token);
}

export function islogined() {
  if (localStorage.getItem("token")) {
    return true;
  }
  return false;
}

export function del() {
  return localStorage.removeItem("token");
}
